// 全局样式
.customModal,
.dangerModal {
  .ant-modal-content {
    border-radius: 4px;
    overflow: hidden;

    .ant-modal-confirm-title {
      word-break: break-all;
      font-weight: 500;
      font-size: 16px;
      line-height: 24px;
      letter-spacing: 0;
    }
  }

  .ant-btn,
  .ant-checkbox,
  .ant-checkbox-inner {
    border-radius: 2px;
  }

  .ant-btn {
    font-weight: 400;
  }
}

.customModal {
  .ant-modal-content {
    padding: 0;

    .ant-modal-confirm-title {
      padding: 16px 24px;
      border-bottom: 1px solid #dcdee1;
    }

    .ant-modal-close {
      right: 18px;

      svg {
        width: 14px;
        height: 14px;
      }
    }

    .ant-modal-confirm-content {
      padding: 14px 24px 12px;
    }

    .ant-modal-confirm-btns {
      // margin-top: 6px;
      padding: 11px 24px;
      border-top: 1px solid #dcdee1;
    }
  }

  .ant-form {
    .ant-form-item-label {
      label {
        color: #4c5a67;
        font-size: 14px;
        margin-right: 5px;
        font-weight: 400;
      }
    }

    .ant-form-item {
      margin-bottom: 15px;
    }
  }
}

.dangerModal {
  .ant-modal-confirm-content {
    font-weight: 400;
    font-size: 14px;
    color: #4c5a67;
    list-style: 22px;
  }

  .anticon-exclamation-circle {
    font-size: 22px;
  }
}

.ant-tooltip {
  .ant-tooltip-inner {
    border-radius: 2px;
    padding: 4px 12px;
  }
}

.ant-tooltip-open {
  display: flex;
  width: max-content;
}

.ant-input,
.ant-input-number-input,
.ant-input-number {
  border-radius: 2px;
}

.ant-row {
  margin-bottom: 20px;
}

.disabledRow {
  color: #c2c7cc;

  .ant-table-cell-row-hover {
    background-color: none !important;
  }
}

.dangerBtn {
  &:hover {
    color: #f76560;
  }
}

.copy {
  display: flex;
  align-items: center;
  font-weight: 400;
  font-size: 14px;
  width: max-content;

  .copyIcon {
    margin-right: 2px;
    fill: #1677ff;
  }
}
